Conversation
SCORE-1998 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| - PRs target the `alpha` branch (not `main`); `main` is only for hotfixes when `alpha`/`next` | ||
| don't exist. Per-PR snapshot builds are installable via | ||
| `yarn add @securityscorecard/design-system@pr-<PR-number>` and auto-unpublished on PR close. |
There was a problem hiding this comment.
⚠️ Quality: architecture.md misstates release branches (alpha/next vs main/beta)
docs/ai/architecture.md (Gotchas, lines 105-107) tells engineers and coding agents: "PRs target the alpha branch (not main); main is only for hotfixes when alpha/next don't exist." This is factually incorrect for this repo. The actual semantic-release config in .releaserc.json:2-5 defines exactly two release branches: main and beta (prerelease, channel beta). There is no alpha or next branch. This very PR also targets main, contradicting the doc.
Because these files are explicitly "agent-readable" context that drives automated planning/implementation decisions, an incorrect base-branch instruction is high-impact: an agent could open PRs against a non-existent alpha branch or wrongly treat main as hotfix-only. Update the Gotcha to reflect the real branching model (release from main; prereleases from beta).
Correct the documented branching model to match .releaserc.json (main + beta).:
- PRs target the `alpha` branch (not `main`); `main` is only for hotfixes when `alpha`/`next`
don't exist. Per-PR snapshot builds are installable via
+ PRs target `main`, which is the primary release branch; `beta` is a prerelease channel
(see `.releaserc.json`). Per-PR snapshot builds are installable via
`yarn add @securityscorecard/design-system@pr-<PR-number>` and auto-unpublished on PR close.
Was this helpful? React with 👍 / 👎
There was a problem hiding this comment.
Comment gitar unblock to override this block and allow merging.
Configure merge blocking · Maintainers can dismiss this review. Gitar never approves changes.
Code Review
|
| Auto-apply | Compact | Unblock |
|
|
|
Was this helpful? React with 👍 / 👎 | Gitar
🚀 Snapshot Build PublishedA snapshot version has been published to GitHub Packages for testing: Snapshot Version: You can install this version in your project using (with yarn add @securityscorecard/design-system@pr-1369Published to GitHub Packages; snapshot versions are not unpublished when the PR is closed. |
What
Adds agent-readable harness context files (generated by /index-project):
Why
Gives any engineer or coding agent working in design-system a current description of the agent roster and this service's architecture/conventions.
Approach
Pure documentation. No code touched. Part of a PV1-wide rollout tracked by SCORE-1998.
🤖 Generated with Claude Code